home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
apidev
/
dax1.exe
/
DAX1.TXT
next >
Wrap
Text File
|
1993-09-17
|
9KB
|
242 lines
NOVELL TECHNICAL INFORMATION DOCUMENT
TITLE: Source for DAX Example, April 1992 BULLETS
DOCUMENT ID: TID000095
DOCUMENT REVISION: A
DATE: 01JUL93
ALERT STATUS: Yellow
INFORMATION TYPE: Symptom Solution
README FOR: DAX1.EXE
NOVELL PRODUCT and VERSION:
NetWare C Interface for DOS 1.2
ABSTRACT:
This file contains source code for the DAX example discussed in the April
1992 issue of BULLETS. DAX is a client server application built on IPX,
supporting DOS and NLM clients. The server application is a NetWare
Loadable Module. To rebuild the applications, you'll need Network C for
NLMs SDK 2.0b or later, and Network C for DOS v2.0.
_________________________________________________________________
DISCLAIMER
THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL.
NOVELL MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION.
HOWEVER, THE INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION
ONLY. NOVELL MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS
INFORMATION.
_________________________________________________________________
Self-Extracting File Name: DAX1.EXE
Files Included Size Date Time
\
DAX1.TXT (This File.)
MAKEINIT 1886 07-15-92 01:10a
\CLIENT\
\CLIENT\ADD\
ADD.C 3721 07-15-92 01:10a
\CLIENT\ADD\DOS\
MAKEFILE 2126 07-15-92 01:10a
\CLIENT\ADD\NLM\
MAKEFILE 2342 07-15-92 01:10a
\CLIENT\ADD\WIN\
ADD.DEF 614 05-07-92 3:47p
ADD.PRJ 6473 07-15-92 5:03p
TCCONFIG.TC 11820 07-15-92 2:17p
\CLIENT\INOUT\
\CLIENT\INOUT\DOS\
INOUT.C 3698 07-15-92 01:10a
MAKEFILE 2118 07-15-92 01:10a
\CLIENT\INOUT\NLM\
INOUT.C 5485 07-15-92 01:10a
MAKEFILE 2347 07-15-92 01:10a
\CLIENT\STRESS\
\CLIENT\STRESS\DOS\
MAKEFILE 2128 07-15-92 01:10a
STRESS.C 6875 07-15-92 01:10a
\CLIENT\STRESS\NLM\
MAKEFILE 2352 07-15-92 01:10a
STRESS.C 8471 07-15-92 01:10a
\CLIENT\STRESS\WIN\
STRESS.C 6805 07-15-92 01:10a
STRESS.DEF 617 05-08-92 2:35p
STRESS.PRJ 6623 07-15-92 5:03p
TCCONFIG.TC 11820 05-08-92 2:29p
\CP\
CP.H 3539 07-15-92 01:10a
CPAPI.H 3216 07-15-92 01:10a
\CP\CPC\
CPC.H 3263 07-15-92 01:10a
CPCONN.C 5829 07-15-92 01:10a
CPINIT.C 4715 07-15-92 01:10a
CPRECV.C 5930 07-15-92 01:10a
CPSEND.C 6302 07-15-92 01:10a
\CP\CPC\DOS\
HELPER.H 2589 07-15-92 01:10a
MAKEFILE 860 07-15-92 01:10a
MAKECLNT 1501 07-15-92 01:10a
\CP\CPC\NLM\
HELPER.H 3139 07-15-92 01:10a
MAKEFILE 847 07-15-92 01:10a
\CP\CPC\WIN\
HELPER.H 3310 07-15-92 01:10a
MAKEFILE 980 07-15-92 01:10a
MAKEINIT 1010 07-15-92 01:10a
TURBOC.CFG 127 07-15-92 4:23p
CPDBG.H 3486 07-15-92 01:10a
CPERR.C 2949 07-15-92 01:10a
\CP\CPS\
CPCONN.C 7228 07-15-92 01:10a
CPINIT.C 4459 07-15-92 01:10a
CPIO.C 2147 07-15-92 01:10a
CPRECV.C 10667 07-15-92 01:10a
CPS.H 3759 07-15-92 01:10a
CPSEND.C 6828 07-15-92 01:10a
MAKEFILE 2898 07-15-92 01:10a
CPSYS.H 2008 07-15-92 01:10a
\DAP\
CONFIG.H 3805 07-15-92 01:10a
DAP.H 12598 07-15-92 01:10a
DAP010.C 4992 07-15-92 01:10a
DAP011.C 4630 07-15-92 01:10a
DAP012.C 4128 07-15-92 01:10a
DAP013.C 4148 07-15-92 01:10a
DAP014.C 4148 07-15-92 01:10a
DAP015.C 4269 07-15-92 01:10a
DAP016.C 3769 07-15-92 01:10a
DAP017.C 4105 07-15-92 01:10a
DAP018.C 3736 07-15-92 01:10a
\DAP\DAPA\
DAP001.C 5041 07-15-92 01:10a
DAPSEND.C 8887 07-15-92 01:10a
\DAP\DAPA\DOS\
MAKEFILE 1143 07-15-92 01:10a
MAKECLNT 2948 07-15-92 01:10a
\DAP\DAPA\NLM\
MAKEFILE 1156 07-15-92 01:10a
\DAP\DAPA\WIN\
MAKEFILE 1213 07-15-92 01:10a
MAKEINIT 1010 07-15-92 01:10a
TURBOC.CFG 127 07-15-92 4:59p
DAPAPI.H 4353 07-15-92 01:10a
DAPDBG.H 3313 07-15-92 01:10a
\DAP\DAPE\
DAPINIT.C 4277 07-15-92 01:10a
DAPIO.C 4423 07-15-92 01:10a
DAPRECV.C 11117 07-15-92 01:10a
DAPSEND.C 9767 07-15-92 01:10a
DAPSESS.C 4043 07-15-92 01:10a
DAPSTAT.C 5384 07-15-92 01:10a
DAPSTAT.H 2723 07-15-92 01:10a
DAPSWIT.C 3812 07-15-92 01:10a
MAKEFILE 4311 07-15-92 01:10a
DAPERR.C 3000 07-15-92 01:10a
DAPSYS.H 1866 07-15-92 01:10a
\DOC\
ENHANCE.DOC 1774 03-05-92 9:25p
OUTLINE.DOC 10339 02-23-92 8:46p
\H\
APPL.H 1001 07-15-92 01:10a
EXTYPES.H 1171 07-15-92 01:10a
ReadMe File for DAX v1.xx
Last Update: 07/15/92
Distributed Application eXample Source Code
-------------------------------------------
This file contains information about the DAXn.EXE example source code, an
example distributed application built on the IPX protocol. Articles
discussing the DAX code appear in the April and May 1992 BULLETS, so for
more indepth information, one might want to read them as well.
The purpose of this file is to explain how to install and rebuild the
examples which make up the DAX source code. The following tools will be
needed in order to accomplish this:
NLM Examples
------------
Network C for NLMs SDK 2.0x for all NLM examples
DOS Examples
------------
Network C for DOS v2.0 for all DOS client examples
or
NetWare C Interface DOS v1.2 and WATCOM C v8.0 or later
Microsoft C 6.0 and BORLAND C++ v3.0 can also be used,
but source code changes may be required...
Windows Examples
----------------
NetWare C Interface Windows v1.3 and BORLAND C++ v3.0
for Windows client source code
NOTE: All of the makefiles for the CP and DAP portions of the example are
WMAKE compatible. They will have to be ported to other vendor's make
utilities...
Installing the DAX Source Code
------------------------------
By default, DAX is setup to install in a directory called /NLM/DC, off the
root of a volume. However, it may be installed in any location, as long as
an environment variable called DCDIR is set to that location. For
example:
C:\> SET DCDIR=F:\USERS\KEN\NLM\DAX
To install the source, create the directory where it should be installed,
move to that directory, and enter the command:
F:\USERS\KEN\NLM\DAX> pkunzip -d DAX1
The '-d' parameter instructs PKUNZIP to store the files in the directories
stored in the .ZIP file. This is CRUCIAL to making everything work, as
well as keep identically named source files from conflicting.
Rebuilding the source code
--------------------------
A MAKEINIT file containing macro definitions needed by WMAKE is included in
the directory where the source is installed. Place a copy of this file in
a subdirectory in your path, AFTER editing the macro definitions which
state the location of all of the tools needed. The following list shows
the default values of all of the macros:
_dsk_drv = o
ccpath=$(_dsk_drv):\p\novc286\20
c3path=$(_dsk_drv):\p\novc386\sdkb
nwpath=$(_dsk_drv):\p\rel\cint\dos\v12
n3path=$(_dsk_drv):\p\novc386\sdkc
Update these macros to reflect the location where all of your tools are
installed. There is more information in the MAKEINIT file describing this
process.
Also, for the Windows version of CP.LIB and DAP.LIB, a special MAKEINIT
file will be required. This MAKEINIT is stored in the subdirectory WIN
under each subsystem, and will be used automatically. However, don't
forget to update this version to reflect the location of tools in your
environment.
To rebuild the CP layer of the software, change to the CP directory, and
issue the command: CPMAKE.
To rebuild the DAP layer of the software, change to the DAP directory and
issue the command: DAPMAKE.
To rebuild the Client software, change to the CLIENT directory and issue
the command: CLIMAKE.
NOTE: To rebuild the Windows client software, change to the directory for
the example you wish to rebuild, and load the BORLAND IDE. Select Options
then Directories and setup your directories as necessary.